package com.surelution.core.drivers.kh;

import com.sun.jna.Library;

public interface KhLibrary extends Library {
	
	public int MT_USB = 0x4;
	public int VT_Beep = 0x00;

	public int SetMachineType(int type);

	public int GetMachineType();
	
	public int ResetSys();
	
	public int GetDataFmt();
	
	public int GetMachineBaut();
	
	public int SetMachineBaut(int rate);
	
	public int GetMachineRWTimeout();
	
	public int GetValidUart(int length, byte[] content);
	
	public int doGetTime(int length, byte[] content);
	
	public int doCheckData(int[] length);
	
	public int doGetPatrolData(int length, byte[] content);
	
	public int doGetDropData(int length, byte[] content);
	
	public int doClearDropData();
	
	public int doClearPatrolData();
	
	public int GetMachineCommPort(int length, byte[] content);
	
	public int SetMachineCommPort(int length, byte[] content);
	
	//机号，数字支持到1－254
	public int doGetMacNo(int length, byte[] content);
	
	

	//机号，数字支持到1－254
	public int doSetMacNo(int length, byte[] content);
	
	public int doSyncTime();
	
	public int doSetVolType(int content);
}
